<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ page import="banco.*" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<link rel="stylesheet" type="text/css" href="estilo.css" />
   
   <%
        ClienteFacade facade = new ClienteFacade();
        
        String indice = request.getParameter("id");
        
        Cliente cliente = facade.getClienteById(indice);
        facade.removeCliente(cliente);
    %>
    
    <font size="3">Cliente com o indice: </font>
   <font color="RED" size="3"><%=indice%></font>
   <font size="3"> foi removido</font>
<meta http-equiv="refresh" content="3; url=./listaCliente.jsp">